package com.example.administrator.startproject_422zwj.iface;

import com.example.administrator.startproject_422zwj.bean.WeatherInfo;

/**
 * Created by Administrator on 2017/3/14 0014.
 */
//统一网络数据获取结果（成功/失败），定义接口
public interface WeatherListener {
    //成功返回天气信息
    void onResponse(WeatherInfo  weatherInfo);
    //失败返回错误信息
    void onFail(String msg);
}
